package com.eorchis.module.classdept.dao;

import java.util.List;

import com.eorchis.core.basedao.dao.IDaoSupport;
import com.eorchis.module.classdept.domain.ClassDeptQueryBean;
import com.eorchis.module.classdept.ui.commond.ClassDeptQueryCommond;
import com.eorchis.module.classdept.ui.commond.ClassDeptValidCommond;

/**
 * Title: IClassDeptDao<br>
 * Description: 班级部门关系表数据接口<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Max
 * @createDate 2014-12-30
 * @version $Revision$
 */
public interface IClassDeptDao 
				extends IDaoSupport
{

	List<ClassDeptQueryBean> findNoSeleDeptList(ClassDeptQueryCommond qCommond)
			throws Exception;

	List<ClassDeptQueryBean> findSeleDeptList(ClassDeptQueryCommond qCommond)
			throws Exception;

	boolean addDeptForClass(ClassDeptValidCommond vCommond) throws Exception;

	void deleteClassDept(ClassDeptValidCommond vCommond) throws Exception;

	void delDeptByClassId(ClassDeptValidCommond vCommond) throws Exception;
	/**
	 * 
	 * @param qCommond
	 * @return
	 * @throws Exception
	 * @author ShenPS
	 * @date 2015年1月8日
	 */
	public List<ClassDeptQueryBean> getClassSeleDepList(ClassDeptQueryCommond qCommond) throws Exception;

	Integer findSeleDeptNumList(ClassDeptQueryCommond qCommond)
			throws Exception;

	Integer findSeleNumListByDepId(String classId, String depId, String year,
			String searchClassType) throws Exception;

}
